home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 2⁄16⁄90 / 0671-Re[2] Metadata limit-Feb90 < prev    next >
Encoding:
Text File  |  1990-02-16  |  1.6 KB  |  39 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  A33          to A34
  2.  
  3. Item    5239875                         14-Feb-90        10:53PST
  4.  
  5. From:   PASCOE1                         Pascoe, Geoff
  6.  
  7. To:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. Sub:    Re: Re: Metadata limitations
  10.  
  11. Y'All,
  12.  
  13. Possible ways of getting around the problem Larry mentions-
  14.  
  15. 1)  Create a method such as the Fields that can be called by the I/O system to
  16. determine if a particular field should be written or read.  Note the method
  17. does not do the writing or reading, it just returns a boolean, or structure, or
  18. something that tells the auto-I/O system if the field should be written/read.
  19. Default is to read and write.
  20.  
  21. 2)  Create a method that actually does the reading or writing.  Of course, the
  22. method should be abstracted from what it's reading and writing to and from.
  23. That is, the method might return a handle that can be copied to clipboard, sent
  24. across a network, or written to a file.
  25.  
  26. 3)  Extend Object Pascal with the ability to declare instance variables
  27. persistent or non-persistent.  All the information is then put in with the rest
  28. of the metadata.
  29.  
  30. By the way, there's one little problem with using this type of mechanism for
  31. documents and the like.  What if the program changes or the classes evolve such
  32. that they're no longer consistent with older versions of the same class.  This
  33. points to a need for version information to be specified and stored in the
  34. documents, and also a need to provide a convenient mechanism for delegating
  35. responsibility for properly reading (and writing?) old versions of objects.
  36.  
  37. Geoff
  38.  
  39.